package com.zq.service.impl;

import com.zq.dao.UserDao;
import com.zq.dao.impl.UserDaoImpl;
import com.zq.service.UserService;

/**
 * 用户service接口
 */
public class UserServiceImpl implements UserService {
    private UserDao userDao;

    public UserServiceImpl(UserDao userDao) {
        this.userDao = userDao;
    }

    /**
     * 添加用户
     */
    @Override
    public void saveUser() {
        userDao.saveUser();
    }
}
